package cc.comac.mom.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

import cc.comac.mom.api.QualityQarBasicStandardCheckService;
import cc.comac.mom.datahandlers.entity.QualityQarBasicStandardCheckDataHandler;
import cc.comac.mom.util.ResultBean;
@RestController
@Service
public class QualityQarBasicStandardCheckServiceImpl implements QualityQarBasicStandardCheckService{

	@Autowired
	private QualityQarBasicStandardCheckDataHandler qualityQarBasicStandardCheckDataHandler;
	@Override
	public ResultBean uploadQarBasicStandardCheck(@RequestPart MultipartFile[] files) {
		ResultBean uploadQarBasicStandardCheck = qualityQarBasicStandardCheckDataHandler.uploadQarBasicStandardCheck(files);
		return uploadQarBasicStandardCheck;
	}

}
